

import java.io.Serializable;

public class kanon_RecordModel implements Serializable {

	private static final long serialVersionUID = 1L;
	private String name;
	private String gender;
	private String telephone;
	private String postalCode;
	private String dateOfBirth;
	private String disease;
	
	public kanon_RecordModel() {
		
	}
	
	public kanon_RecordModel(String name, String gender, String telephone, String postalCode, String dateOfBirth, String disease) {
		this.name = name;
		this.gender = gender;
		this.telephone = telephone;
		this.postalCode = postalCode;
		this.dateOfBirth = dateOfBirth;
		this.disease = disease;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}	
	
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	
	public String getPostalCode() {
		return postalCode;
	}
	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}
	
	public String getDateOfBirth() {
		return dateOfBirth;
	}
	public void setDateOfBirth(String dateOfBirth) {
		this.dateOfBirth = dateOfBirth;
	}
	
	public String getDisease() {
		return disease;
	}
	public void setDisease(String disease) {
		this.disease = disease;
	}
	
	@Override
	public String toString() {
		return name + "," + gender + "," + telephone + "," + postalCode + "," + dateOfBirth + "," + disease + "\n";
	}
}